package com.challenger.admin.services;

import java.util.List;

import com.challenger.admin.entity.User;

public interface UserService {
	
	/**
	 * 新建用户
	 * @param user
	 * @return
	 */
	public int insertUser(User user);
	
	/**
	 * 根据条件查询用户
	 * @param user
	 * @return
	 */
	public User queryUserByNo(User user);
	
	/**
	 * 更新用户
	 * @param user
	 * @return
	 */
	public int updateUser(User user);
	
	/**
	 * 查询所有用户
	 * @return
	 */
	public List<User> queryAllUser();
}
